package com.kgc.travel.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CertificateInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CertificateInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCertificateInfoIdIsNull() {
            addCriterion("certificate_info_id is null");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIdIsNotNull() {
            addCriterion("certificate_info_id is not null");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIdEqualTo(Integer value) {
            addCriterion("certificate_info_id =", value, "certificateInfoId");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIdNotEqualTo(Integer value) {
            addCriterion("certificate_info_id <>", value, "certificateInfoId");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIdGreaterThan(Integer value) {
            addCriterion("certificate_info_id >", value, "certificateInfoId");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("certificate_info_id >=", value, "certificateInfoId");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIdLessThan(Integer value) {
            addCriterion("certificate_info_id <", value, "certificateInfoId");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIdLessThanOrEqualTo(Integer value) {
            addCriterion("certificate_info_id <=", value, "certificateInfoId");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIdIn(List<Integer> values) {
            addCriterion("certificate_info_id in", values, "certificateInfoId");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIdNotIn(List<Integer> values) {
            addCriterion("certificate_info_id not in", values, "certificateInfoId");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIdBetween(Integer value1, Integer value2) {
            addCriterion("certificate_info_id between", value1, value2, "certificateInfoId");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIdNotBetween(Integer value1, Integer value2) {
            addCriterion("certificate_info_id not between", value1, value2, "certificateInfoId");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNameIsNull() {
            addCriterion("certificate_info_name is null");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNameIsNotNull() {
            addCriterion("certificate_info_name is not null");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNameEqualTo(String value) {
            addCriterion("certificate_info_name =", value, "certificateInfoName");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNameNotEqualTo(String value) {
            addCriterion("certificate_info_name <>", value, "certificateInfoName");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNameGreaterThan(String value) {
            addCriterion("certificate_info_name >", value, "certificateInfoName");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNameGreaterThanOrEqualTo(String value) {
            addCriterion("certificate_info_name >=", value, "certificateInfoName");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNameLessThan(String value) {
            addCriterion("certificate_info_name <", value, "certificateInfoName");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNameLessThanOrEqualTo(String value) {
            addCriterion("certificate_info_name <=", value, "certificateInfoName");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNameLike(String value) {
            addCriterion("certificate_info_name like", value, "certificateInfoName");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNameNotLike(String value) {
            addCriterion("certificate_info_name not like", value, "certificateInfoName");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNameIn(List<String> values) {
            addCriterion("certificate_info_name in", values, "certificateInfoName");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNameNotIn(List<String> values) {
            addCriterion("certificate_info_name not in", values, "certificateInfoName");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNameBetween(String value1, String value2) {
            addCriterion("certificate_info_name between", value1, value2, "certificateInfoName");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNameNotBetween(String value1, String value2) {
            addCriterion("certificate_info_name not between", value1, value2, "certificateInfoName");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNumberIsNull() {
            addCriterion("certificate_info_number is null");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNumberIsNotNull() {
            addCriterion("certificate_info_number is not null");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNumberEqualTo(String value) {
            addCriterion("certificate_info_number =", value, "certificateInfoNumber");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNumberNotEqualTo(String value) {
            addCriterion("certificate_info_number <>", value, "certificateInfoNumber");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNumberGreaterThan(String value) {
            addCriterion("certificate_info_number >", value, "certificateInfoNumber");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNumberGreaterThanOrEqualTo(String value) {
            addCriterion("certificate_info_number >=", value, "certificateInfoNumber");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNumberLessThan(String value) {
            addCriterion("certificate_info_number <", value, "certificateInfoNumber");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNumberLessThanOrEqualTo(String value) {
            addCriterion("certificate_info_number <=", value, "certificateInfoNumber");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNumberLike(String value) {
            addCriterion("certificate_info_number like", value, "certificateInfoNumber");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNumberNotLike(String value) {
            addCriterion("certificate_info_number not like", value, "certificateInfoNumber");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNumberIn(List<String> values) {
            addCriterion("certificate_info_number in", values, "certificateInfoNumber");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNumberNotIn(List<String> values) {
            addCriterion("certificate_info_number not in", values, "certificateInfoNumber");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNumberBetween(String value1, String value2) {
            addCriterion("certificate_info_number between", value1, value2, "certificateInfoNumber");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoNumberNotBetween(String value1, String value2) {
            addCriterion("certificate_info_number not between", value1, value2, "certificateInfoNumber");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtCreateIsNull() {
            addCriterion("certificate_info_gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtCreateIsNotNull() {
            addCriterion("certificate_info_gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtCreateEqualTo(Date value) {
            addCriterion("certificate_info_gmt_create =", value, "certificateInfoGmtCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtCreateNotEqualTo(Date value) {
            addCriterion("certificate_info_gmt_create <>", value, "certificateInfoGmtCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtCreateGreaterThan(Date value) {
            addCriterion("certificate_info_gmt_create >", value, "certificateInfoGmtCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtCreateGreaterThanOrEqualTo(Date value) {
            addCriterion("certificate_info_gmt_create >=", value, "certificateInfoGmtCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtCreateLessThan(Date value) {
            addCriterion("certificate_info_gmt_create <", value, "certificateInfoGmtCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtCreateLessThanOrEqualTo(Date value) {
            addCriterion("certificate_info_gmt_create <=", value, "certificateInfoGmtCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtCreateIn(List<Date> values) {
            addCriterion("certificate_info_gmt_create in", values, "certificateInfoGmtCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtCreateNotIn(List<Date> values) {
            addCriterion("certificate_info_gmt_create not in", values, "certificateInfoGmtCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtCreateBetween(Date value1, Date value2) {
            addCriterion("certificate_info_gmt_create between", value1, value2, "certificateInfoGmtCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtCreateNotBetween(Date value1, Date value2) {
            addCriterion("certificate_info_gmt_create not between", value1, value2, "certificateInfoGmtCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtModifiedIsNull() {
            addCriterion("certificate_info_gmt_modified is null");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtModifiedIsNotNull() {
            addCriterion("certificate_info_gmt_modified is not null");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtModifiedEqualTo(Date value) {
            addCriterion("certificate_info_gmt_modified =", value, "certificateInfoGmtModified");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtModifiedNotEqualTo(Date value) {
            addCriterion("certificate_info_gmt_modified <>", value, "certificateInfoGmtModified");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtModifiedGreaterThan(Date value) {
            addCriterion("certificate_info_gmt_modified >", value, "certificateInfoGmtModified");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtModifiedGreaterThanOrEqualTo(Date value) {
            addCriterion("certificate_info_gmt_modified >=", value, "certificateInfoGmtModified");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtModifiedLessThan(Date value) {
            addCriterion("certificate_info_gmt_modified <", value, "certificateInfoGmtModified");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtModifiedLessThanOrEqualTo(Date value) {
            addCriterion("certificate_info_gmt_modified <=", value, "certificateInfoGmtModified");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtModifiedIn(List<Date> values) {
            addCriterion("certificate_info_gmt_modified in", values, "certificateInfoGmtModified");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtModifiedNotIn(List<Date> values) {
            addCriterion("certificate_info_gmt_modified not in", values, "certificateInfoGmtModified");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtModifiedBetween(Date value1, Date value2) {
            addCriterion("certificate_info_gmt_modified between", value1, value2, "certificateInfoGmtModified");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoGmtModifiedNotBetween(Date value1, Date value2) {
            addCriterion("certificate_info_gmt_modified not between", value1, value2, "certificateInfoGmtModified");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoDataCreateIsNull() {
            addCriterion("certificate_info_data_create is null");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoDataCreateIsNotNull() {
            addCriterion("certificate_info_data_create is not null");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoDataCreateEqualTo(Date value) {
            addCriterion("certificate_info_data_create =", value, "certificateInfoDataCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoDataCreateNotEqualTo(Date value) {
            addCriterion("certificate_info_data_create <>", value, "certificateInfoDataCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoDataCreateGreaterThan(Date value) {
            addCriterion("certificate_info_data_create >", value, "certificateInfoDataCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoDataCreateGreaterThanOrEqualTo(Date value) {
            addCriterion("certificate_info_data_create >=", value, "certificateInfoDataCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoDataCreateLessThan(Date value) {
            addCriterion("certificate_info_data_create <", value, "certificateInfoDataCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoDataCreateLessThanOrEqualTo(Date value) {
            addCriterion("certificate_info_data_create <=", value, "certificateInfoDataCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoDataCreateIn(List<Date> values) {
            addCriterion("certificate_info_data_create in", values, "certificateInfoDataCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoDataCreateNotIn(List<Date> values) {
            addCriterion("certificate_info_data_create not in", values, "certificateInfoDataCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoDataCreateBetween(Date value1, Date value2) {
            addCriterion("certificate_info_data_create between", value1, value2, "certificateInfoDataCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoDataCreateNotBetween(Date value1, Date value2) {
            addCriterion("certificate_info_data_create not between", value1, value2, "certificateInfoDataCreate");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIsDelIsNull() {
            addCriterion("certificate_info_is_del is null");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIsDelIsNotNull() {
            addCriterion("certificate_info_is_del is not null");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIsDelEqualTo(Integer value) {
            addCriterion("certificate_info_is_del =", value, "certificateInfoIsDel");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIsDelNotEqualTo(Integer value) {
            addCriterion("certificate_info_is_del <>", value, "certificateInfoIsDel");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIsDelGreaterThan(Integer value) {
            addCriterion("certificate_info_is_del >", value, "certificateInfoIsDel");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIsDelGreaterThanOrEqualTo(Integer value) {
            addCriterion("certificate_info_is_del >=", value, "certificateInfoIsDel");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIsDelLessThan(Integer value) {
            addCriterion("certificate_info_is_del <", value, "certificateInfoIsDel");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIsDelLessThanOrEqualTo(Integer value) {
            addCriterion("certificate_info_is_del <=", value, "certificateInfoIsDel");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIsDelIn(List<Integer> values) {
            addCriterion("certificate_info_is_del in", values, "certificateInfoIsDel");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIsDelNotIn(List<Integer> values) {
            addCriterion("certificate_info_is_del not in", values, "certificateInfoIsDel");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIsDelBetween(Integer value1, Integer value2) {
            addCriterion("certificate_info_is_del between", value1, value2, "certificateInfoIsDel");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoIsDelNotBetween(Integer value1, Integer value2) {
            addCriterion("certificate_info_is_del not between", value1, value2, "certificateInfoIsDel");
            return (Criteria) this;
        }

        public Criteria andIsValidIsNull() {
            addCriterion("is_valid is null");
            return (Criteria) this;
        }

        public Criteria andIsValidIsNotNull() {
            addCriterion("is_valid is not null");
            return (Criteria) this;
        }

        public Criteria andIsValidEqualTo(Integer value) {
            addCriterion("is_valid =", value, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidNotEqualTo(Integer value) {
            addCriterion("is_valid <>", value, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidGreaterThan(Integer value) {
            addCriterion("is_valid >", value, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_valid >=", value, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidLessThan(Integer value) {
            addCriterion("is_valid <", value, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidLessThanOrEqualTo(Integer value) {
            addCriterion("is_valid <=", value, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidIn(List<Integer> values) {
            addCriterion("is_valid in", values, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidNotIn(List<Integer> values) {
            addCriterion("is_valid not in", values, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidBetween(Integer value1, Integer value2) {
            addCriterion("is_valid between", value1, value2, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidNotBetween(Integer value1, Integer value2) {
            addCriterion("is_valid not between", value1, value2, "isValid");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoOrganizationIsNull() {
            addCriterion("certificate_info_organization is null");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoOrganizationIsNotNull() {
            addCriterion("certificate_info_organization is not null");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoOrganizationEqualTo(String value) {
            addCriterion("certificate_info_organization =", value, "certificateInfoOrganization");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoOrganizationNotEqualTo(String value) {
            addCriterion("certificate_info_organization <>", value, "certificateInfoOrganization");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoOrganizationGreaterThan(String value) {
            addCriterion("certificate_info_organization >", value, "certificateInfoOrganization");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoOrganizationGreaterThanOrEqualTo(String value) {
            addCriterion("certificate_info_organization >=", value, "certificateInfoOrganization");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoOrganizationLessThan(String value) {
            addCriterion("certificate_info_organization <", value, "certificateInfoOrganization");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoOrganizationLessThanOrEqualTo(String value) {
            addCriterion("certificate_info_organization <=", value, "certificateInfoOrganization");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoOrganizationLike(String value) {
            addCriterion("certificate_info_organization like", value, "certificateInfoOrganization");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoOrganizationNotLike(String value) {
            addCriterion("certificate_info_organization not like", value, "certificateInfoOrganization");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoOrganizationIn(List<String> values) {
            addCriterion("certificate_info_organization in", values, "certificateInfoOrganization");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoOrganizationNotIn(List<String> values) {
            addCriterion("certificate_info_organization not in", values, "certificateInfoOrganization");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoOrganizationBetween(String value1, String value2) {
            addCriterion("certificate_info_organization between", value1, value2, "certificateInfoOrganization");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoOrganizationNotBetween(String value1, String value2) {
            addCriterion("certificate_info_organization not between", value1, value2, "certificateInfoOrganization");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoCertificateDescIsNull() {
            addCriterion("certificate_info_certificate_desc is null");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoCertificateDescIsNotNull() {
            addCriterion("certificate_info_certificate_desc is not null");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoCertificateDescEqualTo(String value) {
            addCriterion("certificate_info_certificate_desc =", value, "certificateInfoCertificateDesc");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoCertificateDescNotEqualTo(String value) {
            addCriterion("certificate_info_certificate_desc <>", value, "certificateInfoCertificateDesc");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoCertificateDescGreaterThan(String value) {
            addCriterion("certificate_info_certificate_desc >", value, "certificateInfoCertificateDesc");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoCertificateDescGreaterThanOrEqualTo(String value) {
            addCriterion("certificate_info_certificate_desc >=", value, "certificateInfoCertificateDesc");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoCertificateDescLessThan(String value) {
            addCriterion("certificate_info_certificate_desc <", value, "certificateInfoCertificateDesc");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoCertificateDescLessThanOrEqualTo(String value) {
            addCriterion("certificate_info_certificate_desc <=", value, "certificateInfoCertificateDesc");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoCertificateDescLike(String value) {
            addCriterion("certificate_info_certificate_desc like", value, "certificateInfoCertificateDesc");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoCertificateDescNotLike(String value) {
            addCriterion("certificate_info_certificate_desc not like", value, "certificateInfoCertificateDesc");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoCertificateDescIn(List<String> values) {
            addCriterion("certificate_info_certificate_desc in", values, "certificateInfoCertificateDesc");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoCertificateDescNotIn(List<String> values) {
            addCriterion("certificate_info_certificate_desc not in", values, "certificateInfoCertificateDesc");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoCertificateDescBetween(String value1, String value2) {
            addCriterion("certificate_info_certificate_desc between", value1, value2, "certificateInfoCertificateDesc");
            return (Criteria) this;
        }

        public Criteria andCertificateInfoCertificateDescNotBetween(String value1, String value2) {
            addCriterion("certificate_info_certificate_desc not between", value1, value2, "certificateInfoCertificateDesc");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}